﻿using System.ComponentModel.DataAnnotations.Schema;

namespace WJSHWebApi.DBModel
{
    [Table("Ssx_Entity")]
    public class Ssx_Entity : BaseDbmodel
    {
        public int id { get; set; }
        public int Devid { get; set; }

        public string Ip { get; set; }
        public int Port { get; set; }
        public bool IsEnable { get; set; }
        public int PreStationP2016 { get; set; }
        public int StationP2016 { get; set; }
        public int BackStationP2016 { get; set; }
        public int PreStationP2114 { get; set; }
        public int StationP2114 { get; set; }
        public int BackStationP2114 { get; set; }
        public int PreStationP2118 { get; set; }
        public int StationP2118 { get; set; }
        public int BackStationP2118 { get; set; }

        public int PutTaskTypeZJFL { get; set; }
        public int PutTaskTypeFJFL { get; set; }
        public int PutTaskTypeZJBC { get; set; }
        public int PutTaskTypeFJBC { get; set; }
        public int PutTaskTypeFC { get; set; }

        public int GetTaskTypeZJFL { get; set; }
        public int GetTaskTypeFJFL { get; set; }
        public int GetTaskTypeZJBC { get; set; }
        public int GetTaskTypeFJBC { get; set; }
        public int GetTaskTypeFC { get; set; }

        public float PutHeigh { get; set; }
        public float GetHeigh { get; set; }
        public float PutHeightype1 { get; set; }
        public float GetHeightype1 { get; set; }
        public int Area { get; set; }
        public string Remark { get; set; }

        public Ssx_Entity Clone()
        {
            return new Ssx_Entity()
            {
                Devid = this.Devid,

                Ip = this.Ip,

                IsEnable = this.IsEnable,

                Remark = this.Remark,

                PutHeigh = this.PutHeigh,
                GetHeigh = this.GetHeigh,

            };
        }



    }
}
